package me.zhengjie.pojo.export;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import me.zhengjie.util.ruoyiexcel.Excel;

import javax.validation.constraints.NotEmpty;

/**
 * @author Long
 * @date 2021/6/29 13:48
 */
@Data
@ApiModel(value = "ExamStudentExport",description = "考场考生信息导入导出模板")
public class ExamStudentExport {

    @ApiModelProperty("考试Id")
    private Integer examId;

    @ApiModelProperty("准考证号")
    @Excel(name = "准考证号(必填)",cellType = Excel.ColumnType.STRING)
    @NotEmpty(message = "准考证号不可为空")
    private String examinee;

    @ApiModelProperty("身份证号")
    @Excel(name = "身份证号(必填)",cellType = Excel.ColumnType.STRING)
    @NotEmpty(message = "身份证号不可为空")
    private String idCard;

    @ApiModelProperty("考生姓名")
    @Excel(name = "考生姓名(必填)",cellType = Excel.ColumnType.STRING)
    @NotEmpty(message = "考生姓名不可为空")
    private String nameCn;

    @ApiModelProperty("考生手机号")
    @Excel(name = "考生手机号",cellType = Excel.ColumnType.STRING)
    @NotEmpty(message = "手机号不可为空")
    private String phone;

    @ApiModelProperty("座位号")
    @Excel(name = "座位号",cellType = Excel.ColumnType.STRING)
    private String seat;

    @ApiModelProperty("成绩")
    @Excel(name = "成绩",cellType = Excel.ColumnType.STRING)
    private String score;

    @ApiModelProperty("考场名称")
    @Excel(name = "考场名称",cellType = Excel.ColumnType.STRING)
    private String examRoomNameCn;


}
